package cn.hsj;

import cn.hsj.properties.IpProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
//@EnableConfigurationProperties(IpProperties.class)  //开启 属性注入，告诉spring 那个类要从配置文件里 注入属性
public class IpSpringBootStarterApplication {

	public static void main(String[] args) {
		SpringApplication.run(IpSpringBootStarterApplication.class, args);
	}

}
